package indi.liudalei.biology.base.dao;

import indi.liudalei.biology.base.entity.po.GradePo;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/29.
 */
public interface BaseDao<T> {
    T selectByPrimaryKey(Integer id);

    void deleteByPrimaryKey(Integer id);

    Integer insert(T value);

    Integer insertSelective(T value);

    void updateByPrimaryKeySelective(T value);

    void updateByPrimaryKey(T value);

    List<T> selectByExample(Map<String, Object> param);
}
